<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <title>充值明细</title>
</head>
<body pname="<%=basePath%>">
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <table class="layui-hide" id="data-table" lay-filter="data-table"></table>

                    <script type="text/html" id="data-table-toolbar">
                        <div class="layui">
                            <div class="layui-condition">
                                <label>用户id：</label>
                                <div class="layui-inline" style="width: 100px;">
                                    <input type="text" id="userId" placeholder="请输入用户ID" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <label>充值类型：</label>
                                <div class="layui-inline" style="width: 100px;">
                                    <select id="type">
                                        <option value="">全部</option>
                                        <option value="0">金币充值</option>
                                        <option value="2">会员购买</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-condition">
                                <label>时间：</label>
                                <div class="layui-inline" style="width: 180px;">
                                    <input type="text" class="layui-input" id="time" placeholder=" - " autocomplete="off">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <button type="button" class="layui-btn" id="search" lay-event="search">
                                    <i class="layui-icon">&#xe615;</i>搜索
                                </button>
                            </div>
                        </div>
                    </script>

                    <script type="text/html" id="payWayTpl">
                        {{# if(d.payWay == 0){ }}
                            <span style="color: red">微信
                            {{# if(d.payPattern == 1){ }}
                                (支付派)
                            {{# }else if(d.payPattern == 2){ }}
                                (云支付)
                            {{# }else if(d.payPattern == 3){ }}
                                (尊付)
                            {{# }else if(d.payPattern == 4){ }}
                                (96支付)
                            {{# }else if(d.payPattern == 5){ }}
                                (付易来)
                            {{# } }}
                            </span>
                        {{# }else if(d.payWay == 1){ }}
                            <span style="color: blue">支付宝
                            {{# if(d.payPattern == 1){ }}
                                (支付派)
                            {{# }else if(d.payPattern == 2){ }}
                                (云支付)
                            {{# }else if(d.payPattern == 3){ }}
                                (尊付)
                            {{# }else if(d.payPattern == 4){ }}
                                (96支付)
                            {{# }else if(d.payPattern == 5){ }}
                                (付易来)
                            {{# } }}
                            </span>
                        {{# }else if(d.payWay == 2){ }}
                            苹果内购
                            {{# if(d.payPattern == 1){ }}
                                (支付派)
                            {{# }else if(d.payPattern == 2){ }}
                                (云支付)
                            {{# }else if(d.payPattern == 3){ }}
                                (尊付)
                            {{# }else if(d.payPattern == 4){ }}
                                (96支付)
                            {{# }else if(d.payPattern == 5){ }}
                                (付易来)
                            {{# } }}
                        {{# }else{ }}
                            其他
                        {{# } }}
                    </script>
                    <script type="text/html" id="typeTpl">
                        {{# if(d.type == 0){ }}
                            金币充值
                        {{# }else if(d.type == 2){ }}
                            会员购买
                        {{# }else{ }}
                            其他
                        {{# } }}
                    </script>
                    <script type="text/html" id="resultTpl">
                        {{# if(d.type == 0){ }}
                            {{d.coin}}
                        {{# }else if(d.type == 2){ }}
                            {{d.vipName}}
                        {{# }else{ }}
                            其他
                        {{# } }}
                    </script>
                    <script type="text/html" id="isNewTpl">
                        {{# if(d.isNew == 0){ }}
                            <span style="color: red">新用户；总充值{{d.totalAmount}}元</span>
                        {{# }else{ }}
                            老用户；总充值{{d.totalAmount}}元
                        {{# } }}
                    </script>
                    <script type="text/html" id="statusTpl">
                        {{# if(d.status == 0){ }}
                            待付款
                        {{# }else if(d.status == 1){ }}
                            <span style="color: red">已付款</span>
                        {{# }else{ }}
                            其他
                        {{# } }}
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="<%=path%>/js/walletmanage/recharge/list.js?v=1.1.5"></script>
</body>
</html>
